package com.liangsui.mss.dto;


import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @ClassName: OrderChargeFromDto
 * @OrderChargeFromDto: 接收页面传递来的对象$继承BaseDTO需要用户的一些信息
 **/

@ApiModel(value="com-liangsui-dto-OrderChargeDto")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class 	OrderChargeFromDto extends BaseDto {

	  //主订单
	  private OrderChargeDto orderChargeDto;

	  //订单详情
	  @NotEmpty(message = "订单详情不能为空")
	  private List<OrderChargeItemDto> orderChargeItemDtoList;

}
